package cn.cangfei.massage.mapper;

import cn.cangfei.massage.entity.MassageSpecial;
import cn.cangfei.massage.entity.MassageSpecialExample;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

public interface MassageSpecialMapper extends BaseMapper<MassageSpecial> {
    long countByExample(MassageSpecialExample example);

    int deleteByExample(MassageSpecialExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MassageSpecial record);

    int insertSelective(MassageSpecial record);

    List<MassageSpecial> selectByExample(MassageSpecialExample example);

    MassageSpecial selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MassageSpecial record, @Param("example") MassageSpecialExample example);

    int updateByExample(@Param("record") MassageSpecial record, @Param("example") MassageSpecialExample example);

    int updateByPrimaryKeySelective(MassageSpecial record);

    int updateByPrimaryKey(MassageSpecial record);

    Long getIdByName(@Param("name") String name);
}
